/****
 * Copyright (C) 2006 dNux Team
 *                                                            ****
 * This program is free software; you can redistribute it and/or *
 * modify under the terms of the GNU General Public License as   *
 * published by the Free Software Foundation;                    *
 * either version 2 of the License.                              *
 *                                                               *
 * This program is distributed in the hope that it will be       *
 * useful, but WITHOUT ANY WARRANTY; without even the implied    *
 * warranty of without even the implied waranty of               *
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.          *
 * See the GNU General Public License for more details.          *
 *                                                               *
 * You should have received a copy of the                        *
 * GNU General Public License                                    *
 * along with this program; if not, write to the                 *
 * Free Software Foundation, Inc.,                               *
 * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. *
 *                                                               *
 ****                                                         ****/

#ifndef __DIL_CLASS_H__
#define __DIL_CLASS_H__

// [ PRIVATE ]
#ifdef __DIL_PRIV_H__
struct _dil_class_s {
  char        *name;
  dil_class_t *parrent
  d_list_t    *import;
  d_list_t    *content;
  d_map_t     *content_cache;
}
#endif /* __DIL_PRIV_H__ */

// [ PUBLIC ]

dil_class_t *dil_class_new();
void         dil_class_free(dil_class_t **class);

void         dil_class_add_import(dil_class_t *class, char *name);

void         dil_class_set_name(dil_class_t *class, char *name);
void         dil_class_set_parent(dil_class_t *class, dil_class_t *parent);
void         dil_class_set_import(dil_class_t *class, d_list_t *import);

#endif /* __DIL_CLASS_H__ */
